<?php include_tinymce() ?>

<h2><?= anchor('admin/faqs', 'FAQ') ?> Nouvelle question</h2>

<?= form_open('admin/faqs/create', 'class="stylized"') ?>
	<table>
		<tr>
			<td>Question</td>
			<td><?= form_input('question', $faq->question) ?></td>
		</tr>
		<tr>
			<td>En ligne</td>
			<td><?= form_checkbox('online', 1, $faq->online) ?></td>
		</tr>
	</table>
	<p><?= form_textarea('answer', $faq->answer) ?></p>
	<div class="button-box">
		<?= button_submit('Créer') ?>
		<?= button_cancel('admin/faqs') ?>
	</div>
</form>
